package com.ruoyi.appointmentSet.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预约设置对象 jy_appointment_set
 *
 * @author ch
 * @date 2022-07-26
 */
@ApiModel
public class AppointmentSet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 技师id */
    @Excel(name = "技师id")
    @ApiModelProperty(value = "技师id")
    private Long technicianId;

    /** 门店id */
    @Excel(name = "门店id")
    @ApiModelProperty(value = "门店id")
    private Long storeId;

    /** 是否允许预约 */
    @Excel(name = "是否允许预约")
    @ApiModelProperty(value = "是否允许预约")
    private String appointmentState;

    /** 每周可预约时间 */
    @Excel(name = "每周可预约时间")
    @ApiModelProperty(value = "每周可预约时间")
    private String severalWeeksStr;

    /** 可预约时段 */
    @Excel(name = "可预约时段")
    @ApiModelProperty(value = "可预约时段")
    private String timeFrameStr;

    /** 不可预约日期 */
    @Excel(name = "不可预约日期")
    @ApiModelProperty(value = "不可预约日期")
    private String colseDateStr;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTechnicianId(Long technicianId)
    {
        this.technicianId = technicianId;
    }

    public Long getTechnicianId()
    {
        return technicianId;
    }
    public void setStoreId(Long storeId)
    {
        this.storeId = storeId;
    }

    public Long getStoreId()
    {
        return storeId;
    }
    public void setAppointmentState(String appointmentState)
    {
        this.appointmentState = appointmentState;
    }

    public String getAppointmentState()
    {
        return appointmentState;
    }
    public void setSeveralWeeksStr(String severalWeeksStr)
    {
        this.severalWeeksStr = severalWeeksStr;
    }

    public String getSeveralWeeksStr()
    {
        return severalWeeksStr;
    }
    public void setTimeFrameStr(String timeFrameStr)
    {
        this.timeFrameStr = timeFrameStr;
    }

    public String getTimeFrameStr()
    {
        return timeFrameStr;
    }
    public void setColseDateStr(String colseDateStr)
    {
        this.colseDateStr = colseDateStr;
    }

    public String getColseDateStr()
    {
        return colseDateStr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("technicianId", getTechnicianId())
            .append("storeId", getStoreId())
            .append("appointmentState", getAppointmentState())
            .append("severalWeeksStr", getSeveralWeeksStr())
            .append("timeFrameStr", getTimeFrameStr())
            .append("colseDateStr", getColseDateStr())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
